﻿@model HotDealD2.Models.ModelView.RegisterView

@{
    Layout = "../../Shared/AdminLayout.cshtml";
}
@{
    ViewBag.Title = "Index";
    ViewBag.Username = "Admin";
}

<div class= "body-content" >
		
		<div class ="right-cont">
		
		<div id="contented">
       <div class="bg_account_T">
        Quản Lý Doanh Nghiệp
    </div>
     @using (Html.BeginForm())
     {
          @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.")
	   <div class="box-profile">
       <fieldset>
         <legend>Thông tin Doanh Nghiệp</legend>

	   		<div  class="field">
	   			<label>Tên tài khoản</label>
				@Html.TextBoxFor(m => m.UserName, new { @class = "f-input" })
                 @Html.ValidationMessageFor(m => m.UserName)
			</div>
			<div class="field">
	   			<label>Mật khẩu</label>
				 @Html.PasswordFor(m => m.Password, new { @class = "f-input" })
                @Html.ValidationMessageFor(m => m.Password)
			</div>
            <div class="field">
	   			<label>Xác nhận mật khẩu</label>
				 @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "f-input" })
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
			</div>
            <div class="field">
	   			<label>Email</label>
				@Html.TextBoxFor(m => m.Email, new { @class = "f-input" })
                @Html.ValidationMessageFor(m => m.Email)
			</div>
            <div  class="field">
	   			<label>Tên doanh nghiệp</label>
				@Html.TextBoxFor(m => m.Fullname, new { @class = "f-input" })
                 @Html.ValidationMessageFor(m => m.Fullname)
			</div>
			 <div class="field">
	   			<label>Số điện thoại</label>
				@Html.TextBoxFor(m => m.PhoneNumber, new { @class = "f-input" })
                @Html.ValidationMessageFor(m => m.PhoneNumber)
			</div>
            <div class="field">
	   			<label>Phường(Xã)</label>
				@Html.TextBoxFor(m => m.Town, new { @class = "f-input" })
			</div>
            <div class="field">
	   			<label>Đường</label>
				 @Html.TextBoxFor(m => m.Street, new { @class = "f-input" })
			</div>
            <div class="field">
	   			<label>Số nhà</label>
				@Html.TextBoxFor(m => m.HouseNumber, new { @class = "f-input" })
			</div>
           <div class="field">	  
			   <label></label>
			      <input type="submit"  value="Thêm" class="f-button" />
                  
		    		
                
		 	</div>
	    </fieldset>
		</div>
     }
		</div>
		</div>
	</div>